package com.example.pingze.repository;

import com.example.pingze.entity.CreationUserLove;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface CreationUserLoveRepository extends JpaRepository<CreationUserLove, String>, JpaSpecificationExecutor<CreationUserLove> {
    CreationUserLove findCreationUserLoveByAccountAndCreationId(String account, String creationId);

    CreationUserLove findCreationUserLoveById(String id);

    void deleteCreationUserLoveById(String id);
}
